﻿using SqlSugar;

namespace SugarDemo.Model
{
    [SugarTable("school")]
    public class SchoolModel
    {
        [SugarColumn(ColumnName = "shool_id", IsPrimaryKey = true, IsIdentity = true)]
        public int SchoolId { get; set; }
        [SugarColumn(ColumnName = "name", Length = 32, ColumnDataType = "varchar")]
        public string Name { get; set; }

    }
}
